import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  { path: '', loadChildren: './tabs/tabs.module#TabsPageModule' },
  { path: 'actionsheet', loadChildren: './actionsheet/actionsheet.module#ActionsheetPageModule' },
  { path: 'alert', loadChildren: './alert/alert.module#AlertPageModule' },
  { path: 'badge', loadChildren: './badge/badge.module#BadgePageModule' },
  { path: 'button', loadChildren: './button/button.module#ButtonPageModule' },
  { path: 'card', loadChildren: './card/card.module#CardPageModule' },
  { path: 'checkbox', loadChildren: './checkbox/checkbox.module#CheckboxPageModule' },
  { path: 'chip', loadChildren: './chip/chip.module#ChipPageModule' },
  { path: 'content', loadChildren: './content/content.module#ContentPageModule' },
  { path: 'date', loadChildren: './date/date.module#DatePageModule' },
  { path: 'picker', loadChildren: './picker/picker.module#PickerPageModule' },
  { path: 'floating', loadChildren: './floating/floating.module#FloatingPageModule' },
  { path: 'grid', loadChildren: './grid/grid.module#GridPageModule' },
  { path: 'scroll', loadChildren: './scroll/scroll.module#ScrollPageModule' },
  { path: 'icons', loadChildren: './icons/icons.module#IconsPageModule' },
  { path: 'inputs', loadChildren: './inputs/inputs.module#InputsPageModule' },
  { path: 'item', loadChildren: './item/item.module#ItemPageModule' },
  { path: 'list', loadChildren: './list/list.module#ListPageModule' },
  { path: 'menu', loadChildren: './menu/menu.module#MenuPageModule' },
  { path: 'modal', loadChildren: './modal/modal.module#ModalPageModule' },
  { path: 'popover', loadChildren: './popover/popover.module#PopoverPageModule' },
  { path: 'progress', loadChildren: './progress/progress.module#ProgressPageModule' },
  { path: 'navigation', loadChildren: './navigation/navigation.module#NavigationPageModule' },
  { path: 'radio', loadChildren: './radio/radio.module#RadioPageModule' },
  { path: 'page-two', loadChildren: './navigation/page-two/page-two.module#PageTwoPageModule' },
  { path: 'refresher', loadChildren: './refresher/refresher.module#RefresherPageModule' },
  { path: 'search', loadChildren: './search/search.module#SearchPageModule' },
  { path: 'routing', loadChildren: './routing/routing.module#RoutingPageModule' },
  { path: 'reorder', loadChildren: './reorder/reorder.module#ReorderPageModule' },
  { path: 'segment', loadChildren: './segment/segment.module#SegmentPageModule' },
  { path: 'select', loadChildren: './select/select.module#SelectPageModule' },
  { path: 'slides', loadChildren: './slides/slides.module#SlidesPageModule' },
];
@NgModule({
  imports: [
    RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
  ],
  exports: [RouterModule]
})
export class AppRoutingModule {}
